package com.platform.qujia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.qujia.pojo.SaleActivity;
import com.platform.qujia.pojo.vo.SaleActivityListVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * @date 2023/12/20
 */
public interface ISaleActivityService extends IService<SaleActivity> {

    SaleActivity calculateAmt(Long saleActivityId, Integer purchaseNum);

    List<SaleActivityListVO> queryListWithoutEnded(Long enterpriseId);

    int increaseStock(Long id,int incrStock);

}
